﻿using System;
using Omniscient.Foundation.Data;
using Omniscient.Foundation.ServiceModel;
using Omniscient.TimeTracker.Data;

namespace Omniscient.TimeTracker.BusinessModel
{
    public class ResourceServiceMock : IResourceService, IService
    {
        public EntityList<Resource> GetResources()
        {
            EntityList<Resource> resources = new EntityList<Resource>();
            resources.Add(new Resource("test"));
            return resources;
        }

        public object GetImplementation()
        {
            return this;
        }

        public string Name
        {
            get { return GetType().Name; }
        }

        public Type ImplementationType
        {
            get { return GetType(); }
        }
    }
}
